<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" type="image/x-icon" href="<?php echo _ROOT_URL; ?>favicon.ico">
<title><?php echo Mozg_Lang::_('CONTENT_MANAGEMENT_SYSTEM'); ?></title>
<?php echo $this->Style()->GetStylePlaceholder('css'); ?>
<?php echo $this->Style()->GetStylePlaceholder('js'); ?>
<?=$this->Style()->IncludeStyleFile(array(
											'css' => array('admin_second', 'jgrowl', 'admin_specific', 'admin_forms', 'tip'),
											'js' => array('jquery', 'cookie', 'jquery_ui', 'jgrowl', 'splitter', 'translit', 'tip', 'placeholder', 'admin'),
									));?>
<!--[if lt IE 7]>
		<style type="text/css">
			.top_menu li{overflow:hidden;}
		</style>
<![endif]-->
<script type="text/javascript">
var currentUserName = '<?php echo Mozg::User()->GetUserName(); ?>';
</script>
</head>
<body>
	<noscript>
		<?php echo $this->Style()->GetStylePlaceholder('css', 'noscript'); ?>
		<?=$this->Style()->IncludeStyleFile(array('css' => array('admin_noscript')), 'noscript');?>
		<div class="noscript"><?php echo Mozg_Lang::_('JAVASCRIPT_SUPPORT_SWITHCHED_OFF_IN_YOUR_BROWSER'); ?></div>
	</noscript>
	<div class="loading"><?php echo Mozg_Lang::_('LOADING'); ?>...</div>
	<div id="header" class="ui-layout ui-layout-north">
		<?php
		$logo = Mozg_Cfg::Get('admin/global')->GetLogo();
		?>
		<a href="<?=htmlspecialchars(Mozg::Router('http')->Create('module=admin'));?>" id="logo-container" style="background: url('<?=_ROOT_URL_STATIC.$logo['file'];?>') no-repeat 50% 50%"><!--  --></a>
		<div class="top-area">
			<!-- top menu -->
			<div class="top_links" id="statusBar"><?=$this->userStatus;?></div>
			<?php echo $this->mainMenu; ?>
			<!-- e_top_menu -->
		</div>
	</div>
	<div id="LeftPane" class="ui-layout ui-layout-west"><?php echo trim($this->leftPane);?></div>
	<div id="ContentPane" class="ui-layout ui-layout-center"><?php echo $this->content;?></div>
	<div id="RightPane" class="ui-layout ui-layout-east"><?php echo trim($this->rightPane);?></div>
	<div id="footer" class="ui-layout ui-layout-south">
		<div class="border">
			<div class="right_link">&copy; <?php echo Mozg_Lang::_('CONTENT_MANAGEMENT_SYSTEM'); ?> <a href="<?=_ROOT_URL;?>"><?=$this->siteName;?></a></div>
		</div>
	</div>
<script type="text/javascript">
$(document).ready( function() {
	showAllMessages(<?php echo Mozg::Lib('Json')->Encode($this->messages); ?>);
});

<?=$this->bottomScript;?>
</script>
</body>
</html>